import request from "@/util/request";
/**
 * @description 获取单位
 * @param data
 * @returns {*}
 */
export function getWorkListApi(data) {
	return request({
		url: '/api/work/all',
		method: 'GET',
		data
	})
}

/**
 * @description 获取详情
 * @param data
 * @returns {*}
 */
export function getWorkByIdApi(data) {
	return request({
		url: '/api/work/content',
		method: 'GET',
		data
	})
}